package com.weipai.demo.mapper;

import com.weipai.demo.model.House;
import org.springframework.stereotype.Repository;
import tk.mybatis.mapper.common.Mapper;

import java.util.List;
import java.util.Map;
@Repository
public interface HouseMapper extends Mapper<House> {
    List<Map<String,Object>> getAll(House house);

    Map<String,Object> getOne(Integer id);

    int changePublishStatus(Integer id,Integer publishStatus);
}
